package cn.ztuo.bitrade.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2020-03-16
 * @Description 风险额度
 */

@Data
@Entity
@Table ( name ="contract_bond" )
public class ContractBond  implements Serializable {

	private static final long serialVersionUID =  3056849678682016455L;
    @Id
   	@Column(name = "id" )
	private Long id;


   	@Column(name = "symbol" )
	private String symbol;

	/**
	 * 仓位张数
	 */
   	@Column(name = "position_contract_num" )
	private Long positionContractNum;

	/**
	 * 最大杠杆倍数
	 */
   	@Column(name = "multiple" )
	private String multiple;

	/**
	 * 维持保证金
	 */
   	@Column(name = "maintain" )
	private BigDecimal maintain;

	/**
	 * 起始保证金
	 */
   	@Column(name = "Initial_margin" )
	private BigDecimal initialMargin;

}
